-
Notifications
You must be signed in to change notification settings - Fork 324
Use Iceberg-Rust for parsing the ManifestList and Manifests #2004
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@roeap Thanks, your patch fixed correctly passing through the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like we're waiting for apache/iceberg-rust#1328 to finalize, which is dependent on apache/iceberg-rust#1482 :)
@@ -357,7 +357,7 @@ def test_write_empty_manifest() -> None: | |||
|
|||
@pytest.mark.parametrize("format_version", [1, 2]) | |||
def test_write_manifest( | |||
generated_manifest_file_file_v1: str, generated_manifest_file_file_v2: str, format_version: TableVersion | |||
generated_manifest_file_file_v1: str, generated_manifest_file_file_v2: str, format_version: TableVersion, test_schema: Schema |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit use test_partition_spec
too
@Fokko This is awesome! thanks for your work on this one. |
@yogevyuval Thanks for asking, and yes, I do expect performance impact since just a part of the deserialization is cythonized. With this change, much more is pushed into Rust. This will also reduce the GIL pressure since we don't have to build the readers anymore :) I left this PR small to focus on the essentials, but once this is in, we can also clean up a LOT of code 👍 |
Rationale for this change
This replaces the Cython implementation for reading Avro with Iceberg-Rust. This would greatly simplify the PyIceberg project since we don't have to publish Python wheels anymore.
Are these changes tested?
Are there any user-facing changes?